{%extends "cms/base/base.html" %} {% block content %}
<!-- start content -->
<div id="content">
	<br/>
	<table border="0" width="100%" cellpadding="0" cellspacing="0"
		id="content-table">
		<tr>
			<th rowspan="3" class="sized"><div style="width:20px;">&nbsp;</div></th>
			<th class="topleft"></th>
			<td id="tbl-border-top">&nbsp;</td>
			<th class="topright"></th>
			<th rowspan="3" class="sized"><div style="width:20px;">&nbsp;</div></th>
		</tr>
		<tr>
			<td id="tbl-border-left"></td>
			<td>
				<!--  start content-table-inner ...................................................................... START -->
				<div id="content-table-inner">
					<!--  start table-content  -->
					<div id="table-content">
						<!--  start product-table ..................................................................................... -->
						<form id="mainform" action="">
							<table border="0" width="100%" cellpadding="0" cellspacing="0"
								id="product-table">
								<tr>
									<th class="table-header-repeat line-left">
										<a href="javascript:;">相册名称</a>
									</th>
									<th class="table-header-repeat line-left">
										<a href="javascript:;">相册描述</a>
									</th>
									<th class="table-header-repeat line-left"><a href="javascript:;">创建时间</a></th>
									<th class="table-header-repeat line-left"><a href="javascript:;">修改时间</a></th>
									<th class="table-header-options line-left"><a href="/admin/addAlbum">创建相册</a></th>
								</tr>
								{% for album in album_list %}
									<tr>
										<td>{{ album.name }}</td>
										<td>{{ album.description }}</td>
										<td>{{ album.create_time|date:'Y-m-d H:i:s' }}</td>
										<td>{{ album.modify_time|date:'Y-m-d H:i:s' }}</td>
										<td class="options-width">
											<a href="/admin/editAlbum/{{ album.id }}/" title="Edit" class="icon-1 info-tooltip"></a>
											<a href="/admin/deleteTags/{{ album.id }}/" title="Delete" class="icon-2 info-tooltip"></a>
										</td>
									</tr>
								{% endfor %}
							</table>
							<!--  end product-table................................... -->
						</form>
					</div>
					<!--  end content-table  -->
					<div class="clear"></div>
				</div> <!--  end content-table-inner ............................................END  -->
			</td>
			<td id="tbl-border-right"></td>
		</tr>
		<tr>
			<th class="sized bottomleft"></th>
			<td id="tbl-border-bottom">&nbsp;</td>
			<th class="sized bottomright"></th>
		</tr>
	</table>
	<div class="clear">&nbsp;</div>
</div>
<!--  end content -->
{% endblock %}
